Skip to content

[flow-strict] Flow strict TouchableBounce - #22197

Closed
exced wants to merge 2 commits into
react:masterfrom
exced:flowTouchableBounce
Closed

exced wants to merge 2 commits into
react:masterfrom
exced:flowTouchableBounce

Conversation

@exced

@exced exced commented Nov 7, 2018 •

Copy link
Copy Markdown
Contributor

Related to #22100

Enhance TouchableBounce with press event types, callback and hitslop types.

There is still some work to do in order to turn flow to strict mode. (requireNativeComponent and render function)

Test Plan:

  • All flow tests succeed.

Release Notes:

[GENERAL] [ENHANCEMENT] [TouchableBounce.js] - Flow types

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 7, 2018
@pull-bot

pull-bot commented Nov 7, 2018

Copy link
Copy Markdown
Warnings
⚠️

📋 Release Notes - This PR may have incorrectly formatted Release Notes.

Generated by 🚫 dangerJS

@ajax900

ajax900 commented Nov 7, 2018

Copy link
Copy Markdown

[GENERAL] [ENHANCEMENT] [TouchableBounce.js] - Flow types

pull request

@RSNara RSNara left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks mostly good, but I think there's one mistake: onPressWithCompletion expects a callback () => void as its first argument.

@facebook-github-bot facebook-github-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RSNara has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@RSNara RSNara left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! 😄

@react-native-bot

Copy link
Copy Markdown
Collaborator

@exced merged commit 45c5183 into facebook:master.

@react react locked as resolved and limited conversation to collaborators Nov 21, 2018
@react-native-bot react-native-bot added the Merged This PR has been merged. label Nov 21, 2018
t-nanava pushed a commit to microsoft/react-native-macos that referenced this pull request Jun 17, 2019
Summary:
Related to react#22100

Enhance TouchableBounce with press event types, callback and hitslop types.

There is still some work to do in order to turn flow to strict mode. (requireNativeComponent and render function)

- All flow tests succeed.

[GENERAL] [ENHANCEMENT] [TouchableBounce.js] - Flow types
Pull Request resolved: react#22197

Reviewed By: TheSavior

Differential Revision: D13032452

Pulled By: RSNara

fbshipit-source-id: b21140722ce924698aa15323602e2e3fc663dbb6
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Flow Merged This PR has been merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants